[index]

Mod Function

Syntax

<number> mod <number>

Description

Examples

To calculate the number of years, months, and days contained in 7,498 days, type the following lines in the Message Box and press Enter after each: put 7498 div 365 into years put 7498 mod 365 into dummy put dummy div 30 into months put dummy mod 30 into days To view Oracle Media Objects calculations, type the following lines in the Message Box and press Enter after each: years months days Oracle Media Objects returns (respectively):
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.